<?php
	include('config.inc.php');
	include('dbconnect.php');
	require_once('class.Fitness.php');
	require_once('class.UserDB.php');
	$user = new UserDB();
	
	$s = $_GET["s"];
	$response = "Search Output";
	$u = $user->getUserInfo($s);
	if (strlen($u[1]) > 0) {
		echo "<br />";
		echo "Username: " . $u[1] . "<br />";
		echo "First Name: " . $u[3] . "<br />";
		echo "Last Name: " . $u[4] . "<br />";
	} else {
		echo "No such user";
	}
?>